package com.li.springbootproject.spring.createbean;

import java.util.UUID;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 3/12/2022 3:19 PM
 */
public class PersonBean {

    private UUID id = UUID.randomUUID();
    private String name = "PersonBean";
    private Integer age = 23;

    public UUID getId() {
        return id;
    }

    public void setId(UUID id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "PersonBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
